import ArcoVue from '@arco-design/web-vue';
import ArcoVueIcon from '@arco-design/web-vue/es/icon';
import formCreate from '@form-create/arco-design';
import { install } from '@icon-park/vue-next/es/all';
import { createApp } from 'vue';

import globalComponents from '@/components';

import App from './App.vue';
import directive from './directive';
import i18n from './locale';
import router from './router';
import store from './store';

// eslint-disable-next-line import/no-unresolved
import 'uno.css';
import '@arco-themes/vue-geeguo-biz/index.less';
import '@/assets/style/global.less';
import '@/assets/style/common.less';

const app = createApp(App);

app.use(ArcoVue, {});
app.use(ArcoVueIcon);
app.use(formCreate);
install(app);

app.use(store);
app.use(i18n);
app.use(router);
app.use(directive);
app.use(globalComponents);

app.mount('#app');
